fix gcc warnings about non-local variables using anonymous types.
authortsteven4 <tsteven4@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 7 Apr 2013 22:25:11 +0000 (22:25 +0000)
committertsteven4 <tsteven4@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 7 Apr 2013 22:25:11 +0000 (22:25 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4376 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/jeeps/gpsusbcommon.cc
gpsbabel/nmea.cc

index 79e5b204562118935400d3452c394e475d1f044a..d16eefd82f73da70629f79741302e668b42cc743 100644 (file)
@@ -29,7 +29,7 @@
  * protocols as exhibited in the handhelds and dashtops.
  */
 
-enum {
+static enum {
   rs_fromintr,
   rs_frombulk
 } receive_state;
index 47ba567c38c891583f41157af3af0ccd69cbe33c..5412a01e398a8d9bdd520954a1e164834b35f5ae 100644 (file)
@@ -141,7 +141,7 @@ typedef enum {
   gprmc
 } preferred_posn_type;
 
-enum {
+static enum {
   rm_unknown = 0,
   rm_serial,
   rm_file